package com.jianyun.jyzs.model.imdoel;

/**
 * Created by yangshijun on 2018/8/1.
 */

public interface IUpdatePhoneModel {

    /**
     * 修改手机号
     * @param enterpriseCode
     * @param userId
     * @param mobilePhone
     * @param onUpdatePhoneListener
     */
    void updataPhone(String enterpriseCode,String userId,String mobilePhone,OnUpdatePhoneListener onUpdatePhoneListener);

    interface OnUpdatePhoneListener{
        void onSuccess();
        void onFailed();
        void onException(String msg);
    }
}
